import axios from 'axios'

const http = axios.create({
    timeout:5000,
    baseURL:'http://douyin.bytedance.com/api'
})

http.interceptors.request.use(config=>{
    // console.log(config);
    return config
})

http.interceptors.response.use(res=>{
    // console.log(res);
    return res
})
export default http